{	Problem: http://codeforces.ru/problemset/problem/62/A
	Verdict: Accepted

}
var a,b,c,d:longint; r:boolean;
begin
readln(a,b);
readln(c,d);
r:=false;
if (a>=d) and (a-d<=1) then r:=true;
if (d>=a) and (d<=(a+1)*2) then r:=true;
if (b>=c) and (b-c<=1) then r:=true;
if (c>=b) and (c<=(b+1)*2) then r:=true;
if r then writeln('YES') else writeln('NO');
end.